from ftllibs.items.itemtools import ItemIconData

class Item_3005():
    def __init__(self):
        self.parent=False
        self.Name="Atma's Impaler"
        self.IconFileName="3005.png"
        self.ID=3005
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1031','1018']
        self.Builds_Into=[]
        self.Tags=['armor','damage','critical_strike']
        self.Costs = 825
        self.Total_Costs = 2355
        self.Description="+45 Armor +18% Critical Strike Chance  UNIQUE Passive: Gain Attack Damage equal to 1.5% of your maximum Health."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Armor += 45.0
        self.parent.Critical_Strike_Chance += 18.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

